include(TDEVersion)

cmake_minimum_required(VERSION ${TDE_CMAKE_MINIMUM_VERSION})
project(aster VERSION 0.1.0
              DESCRIPTION "TDE Media Player"
              LANGUAGES CXX)

include(TDEMacros)
include(TDESetupPaths)

tde_setup_paths() # Locate tdelibs.cmake, etc.

find_package(PkgConfig)
find_package(TQt)
find_package(TDE)

pkg_search_module(VLC libvlc REQUIRED)

# Ensure C++11
set(CMAKE_CXX_STANDARD 11)

add_subdirectory(source)

configure_file(config.h.in config.h @ONLY)

